ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Tools Namespace / ValidatorBase<T> Class / Validate Method
Object to validate

In This Topic
    Validate Method (ValidatorBase<T>)
    In This Topic
    Runs validation
    Syntax
    'Declaration
     
    Public Function Validate( _
       ByVal obj As T _
    ) As IEnumerable(Of Tuple(Of Boolean,String))
    public IEnumerable<Tuple<bool,string>> Validate( 
       T obj
    )

    Parameters

    obj
    Object to validate

    Return Value

    Validation result as Tuple<bool, string> where Item1 - is a boolean that says whether the validation succeeded, Item2 - a collection of error messages about any validation failures
    See Also